import request from '@/utils/request'

// 查询小红书营销花费列表
export function listBiXhsMarketingCost(query) {
  return request({
    url: '/sale/BiXhsMarketingCost/list',
    method: 'get',
    params: query
  })
}

// 查询小红书营销花费详细
export function getBiXhsMarketingCost(id) {
  return request({
    url: '/sale/BiXhsMarketingCost/' + id,
    method: 'get'
  })
}

// 新增小红书营销花费
export function addBiXhsMarketingCost(data) {
  return request({
    url: '/sale/BiXhsMarketingCost',
    method: 'post',
    data: data
  })
}

// 修改小红书营销花费
export function updateBiXhsMarketingCost(data) {
  return request({
    url: '/sale/BiXhsMarketingCost',
    method: 'put',
    data: data
  })
}

// 删除小红书营销花费
export function delBiXhsMarketingCost(id) {
  return request({
    url: '/sale/BiXhsMarketingCost/' + id,
    method: 'delete'
  })
}
